package edu.whut.mall.mapper;

import edu.whut.mall.model.GroupBuyRecordUser;
import edu.whut.mall.model.GroupBuyRecordUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyRecordUserMapper {
    long countByExample(GroupBuyRecordUserExample example);

    int deleteByExample(GroupBuyRecordUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupBuyRecordUser record);

    int insertSelective(GroupBuyRecordUser record);

    List<GroupBuyRecordUser> selectByExample(GroupBuyRecordUserExample example);

    GroupBuyRecordUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupBuyRecordUser record, @Param("example") GroupBuyRecordUserExample example);

    int updateByExample(@Param("record") GroupBuyRecordUser record, @Param("example") GroupBuyRecordUserExample example);

    int updateByPrimaryKeySelective(GroupBuyRecordUser record);

    int updateByPrimaryKey(GroupBuyRecordUser record);
}